package com.example;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author wangfeng
 * @Description
 * @Date 2021/11/11
 **/
@Configuration
@EnableApolloConfig("caiNiao")
public class ApolloConfig {

	@Bean
	public ConstantConfig constantConfig() {
		return new ConstantConfig();
	}

	@Bean
	public CainiaoConfig cainiaoConfig() {
		return new CainiaoConfig();
	}
}
